﻿//===============================================================================
// File: AnswerGroup.cs
// Author:Veiller Hu
// CLR Version：4.0.30319.225
// Created Date:  2011/5/3 8:31:40 PM 
// Summary:  
//===============================================================================
//
// Copyright (c) East China Information Technology Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//===============================================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
namespace GPMS.Model
{
    [MetadataType(typeof(AnswerGroupMetaData))]
   public partial class AnswerGroup
    {
        public class AnswerGroupMetaData
        {
            [DisplayName("名称")]
            [Required]
            [RemoteCustom("AnswerGroup", "Verify", ErrorMessage = "已存在同名答辩组")]
            public object Name { get; set; }
            [DisplayName("描述")]
            public object Description { get; set; }
            [DisplayName("地点")]
            [Required]
            public object Place { get; set; }
            [DisplayName("组长")]
            public object LeaderID { get; set; }
            [DisplayName("日期")]
            [Required]
            public object Date { get; set; }
            [DisplayName("开始时间")]
            [Required]
            public object BeginTime { get; set; }
            [DisplayName("结束时间")]
            [Required]
            public object EndTime { get; set; }
        }
    }
}
